#ifndef _BNCIMB_TEST_PLAYERTEST_H_
#define _BNCIMB_TEST_PLAYERTEST_H_

#include "Player.h"
#include <iostream>

namespace BncImb {
namespace Test {
using namespace std;
using namespace BncImb::Domain;
void playerTest() {
  Player p;
  p.name("Adriano Viana");
  cout << "Player name " << p.name() << endl;
  cout << "Player balance " << p.account().balance() << endl;
  double transValue = 200;
  cout << "Making transaction of " << transValue << endl;
  p.makeTransaction(transValue);
  cout << "Player balance " << p.account().balance() << endl;
  transValue = -100;
	 p.makeTransaction(transValue);
  cout << "Player balance " << p.account().balance() << endl;
}
}
}

#endif